Search results
18 packages found
handles error first callbacks
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
Error first callback for listening on the server.
assert + error-first callback
A tiny, TypeScript-first, result/error handling utility.
Richer errors with first-class Typescript support.
Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.
ts first, error flow easily without try...catch
Throw an error if there is an error.
simple, lightweight, dependency-free library to emulate error-first handling in async/await scenarios
Restrict the given function only be invoked once. Repeat calls to the function return the value of the first invocation.
Like a stack, the queue is a linear data structure that stores items in either a First In First Out (FIFO) or Last In First Out (LIFO) manner. With FIFO, the least recently added item is removed first, while with LIFO, the most recently added item is remo
- flag
- move
- babel
- callbind
- Push
- defineProperty
- phone
- command
- stateless
- RegExp.prototype.flags
- typedarray
- String.prototype.trim
- call-bind
- negative
- View more
Simple auto focus to first Formik error
The function converts anything into an object of Error (or subclasses) class. If `error` is an object of Error (or subclasses) class, it returns the original `error` object. With any other type, it will convert it into a string first and then an Error obj
Simple auto focus to first Formik error
Skiff is a privacy-first, end-to-end encrypted workspace with Mail, Calendar, Pages, and Drive product. Sign up for a free Skiff Mail account at [skiff.com](https://skiff.com). This monorepo contains all Skiff apps, libraries, and more. You can sign up, u
- make dir
- tools
- trimStart
- macos
- arguments
- interrupts
- nope
- debugger
- events
- throat
- dir
- parser
- properties
- name
- View more
Catch-first can simplify the code and handle exceptions better and more safely.
Restart a long running error-first callback function on error.